package com.gsd.controller;

import com.gsd.common.core.domain.entity.SysUser;
import com.gsd.system.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 用户信息
 *
 * @author ruoyi
 */
@RestController
@RequestMapping( "/auditStatus/auditStatus")
public class SysUserController
{
    @Autowired
    private ISysUserService sysUserService;

    /**
     * 获取用户列表
     */
    @GetMapping("/list")
    public List<SysUser> list(SysUser user)
    {
        List<SysUser> list = sysUserService.selectSysUserList(user);
        return list;
    }

}
